home *** CD-ROM | disk | FTP | other *** search
- /*
- ** $VER: Mathan.ed
- **
- ** Mathan ARexx Macro for Ed 2.00
- **
- ** (Evaluates the current line)
- **
- */
-
- OPTIONS RESULTS
-
- address 'Ed'
- 'RV/file_info/'
- text=file_info.CURRENT /* Get the current line */
- address 'Mathan'
- text /* Send the string to Mathan */
- rlin=RESULT
- address 'Ed'
-
- /*
- ** You can also use 'A/'||rlin||'/' but I prefer creating a file.
- */
-
- IF Open(file,'T:mth.txt',WRITE) THEN DO
- WriteLn(file,rlin) /* Save the reply to a file */
- Close(file)
- 'IF/'||'T:mth.txt'||'/' /* Insert the file */
- END
-
-
-